ChangeLinkStatus
TheChangeLinkStatus
method changes the link status of this frame.
void ChangeLinkStatus (in ODLinkStatus status);
status
- The link status to assign to this frame. The value of
status
must be one of the following:kODInLinkDestination
,kODInLinkSource
, orkODNotInLink
.DISCUSSION
The valuekODInLinkDestination
for thestatus
parameter indicates that the frame is embedded in the destination of a link; the content of this frame is thus supplied by a link. The valuekODInLinkSource
indicates that the frame is embedded in content that is the source of one or more links, but not in content that is the destination of a link. The valuekODNotInLink
indicates that the frame is not embedded in any linked content, source or destination.If your part supports linking or embedding, your part calls this method for each embedded frame that is involved in a link when a link is created, broken, or moved. If your part supports linking only, your part calls this method for each frame not in a link. This method in turn calls the
LinkStatusChanged
method associated with this frame's part to notify the part that its link status has changed. In turn, the embedded part'sLinkStatusChanged
method gives that embedded part a chance to call theChangeLinkStatus
method for other embedded frames.EXCEPTIONS
kODErrInvalidLinkStatus
- The specified link status is invalid.
SEE ALSO
TheODLinkStatus
type (page 882).
TheODFrame::GetLinkStatus
method (page 321).
TheODPart::LinkStatusChanged
method (page 532).
"When to Change Link Status" on page 374 in OpenDoc Programmer's Guide.
"Creating a Link at the Destination" on page 380 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help